﻿using MyCode.Project.Domain.Businesses.Sms;
using MyCode.Project.Infrastructure.Enumeration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Businesses.WorkProcess
{
    /// <summary>
    /// 短信通知数据
    /// </summary>
    /// <typeparam name="T">短信模板基类</typeparam>
    public class SmsNotificationData<T> : TaskBase where T : SmsTemplateBase
    {
        /// <summary>
        /// 商家ID
        /// </summary>
        public Guid MerchantId { get; set; }

        /// <summary>
        /// 模板
        /// </summary>
        public T Template { get; set; }

        /// <summary>
        /// 通知模板类型
        /// </summary>
        public SmsNotificationType TemplateType { get; set; }

        /// <summary>
        /// 备注。用于友好识别调度项
        /// </summary>
        public string Remark { get; set; }
    }
}
